#include "button.h"
#include "ti_msp_dl_config.h"

struct keys key;

void key_Proc()
{
    for (int i=0; i<4; i++)
    {
        if(key.single_flag==1)
        {
            daoku_flag = 1;
            key.single_flag=0;
        }
        if(key.double_flag==1)
        {
            cefang_flag = 1;
            key.double_flag=0;
        }
        if(key.long_flag==1)
        {
            Total_Task_flag = 1;
            key.long_flag = 0;
        }
    }
}
